package com.prs.crm.service.oa.impl;

import java.util.List;

import com.prs.crm.dao.oa.PictureNewsCollectTypeDao;
import com.prs.crm.domain.oa.PictureNewsCollectType;
import com.prs.crm.service.impl.BaseServiceImpl;
import com.prs.crm.service.oa.PictureNewsCollectTypeService;

public class PictureNewsCollectTypeServiceImpl extends BaseServiceImpl<PictureNewsCollectType, PictureNewsCollectTypeDao> implements PictureNewsCollectTypeService{

	@Override
	public PictureNewsCollectType getTypeName(String name) {
		// TODO Auto-generated method stub
		return this.getDao().getTypeByName(name);
	}

	@Override
	public List<PictureNewsCollectType> getAll() {
		return this.getDao().getAll();
	}

}
